/**
 * 
 */
package com.jm.web.builder.form;

import com.jm.web.builder.BaseBuilder;
import com.jm.web.form.baseitem.CalendarItem;
import com.jm.web.tags.support.BaseTag;

/**
 * @author yanjie
 *
 * 2011/10/6 下午4:31:58
 */
public class CalendarBuilder extends BaseBuilder{
	protected CalendarItem cal = null ;
	
	@Override
	public void init(BaseTag tag) {
		super.init(tag);
		cal = new CalendarItem();
		cal.InitTag(tag);
		cal.setFromTag(true);//设置此控件是tag生成的
		cal.init();
	}
	
	@Override
	public void RenderEnd() {
		cal.onRender2(this.getOut());
	}
}
